
import { createApp } from 'vue';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import APP from "./view/home/index.vue"
import router  from './route/route'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(APP)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

import { createPinia } from 'pinia'
const pinia = createPinia()

app.use(pinia)
app.use(ElementPlus)
app.use(router)
app.mount('#app')
 